home *** CD-ROM | disk | FTP | other *** search
/ Team Palmtops 7 / Palmtops_numero07.iso / WinCE / SDKWindowsCE / HandHeldPCPro30 / sdk.exe / Jupiter SDK / data1.cab / ATL_Samples / sketcntr / sketch.cpp < prev    next >
Encoding:
C/C++ Source or Header  |  1999-02-19  |  1.0 KB  |  41 lines

  1. // Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
  2.  
  3. // NOTE: Do not modify the contents of this file.  If this class is regenerated by
  4. //  Microsoft Visual C++, your modifications will be overwritten.
  5.  
  6.  
  7. #include "stdafx.h"
  8. #include "sketch.h"
  9.  
  10. /////////////////////////////////////////////////////////////////////////////
  11. // CSketcCtl
  12.  
  13. IMPLEMENT_DYNCREATE(CSketcCtl, CWnd)
  14.  
  15. /////////////////////////////////////////////////////////////////////////////
  16. // CSketcCtl properties
  17.  
  18. /////////////////////////////////////////////////////////////////////////////
  19. // CSketcCtl operations
  20.  
  21. void CSketcCtl::Erase()
  22. {
  23.   InvokeHelper(0x2, DISPATCH_METHOD, VT_EMPTY, NULL, NULL, NULL);
  24. }
  25.  
  26.  
  27. short CSketcCtl::get_PenWidth()
  28. {
  29.     short result;
  30.     InvokeHelper(0x1, DISPATCH_METHOD, VT_I2, (void*)&result, NULL);
  31.     return result;
  32. }
  33.  
  34. void CSketcCtl::put_PenWidth(short nNewValue)
  35. {
  36.     static BYTE parms[] =
  37.         VTS_I2;
  38.     InvokeHelper(0x1, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  39.          nNewValue);
  40. }
  41.